<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Non-SCF Creation</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta content="no-cache" />
<link href="../CSS/default.css" rel="stylesheet" type="text/css" />
</head>

<cfinclude template="../authentication.cfm">

<cfif Session.strAuthType NEQ ''>
    <cfquery name="qryGetStepDetail" datasource="EPAR">
    	scf_GetStepDetail 0
    </cfquery>
    	
	<cfoutput>
    <body>
    <!-- start header -->
        <cfinclude template="header.cfm"/>
    <!-- end header -->
    
    <!-- start page -->
    <div id="page">	
        <div id="menu">
            <!---ul>
                <li class="active"><a href="index.cfm">Home</a></li>
                <li><a href="NonSCFCreation.cfm">Creation</a></li>
                <li><a href="NonSCFTermination.cfm">Termination</a></li>
            </ul--->
        	<table>
            	<tr>
                	<td><a href="index.cfm">Home</a></td>
                	<td class="active"><a href="NonSCFCreation.cfm">Creation</a></td>
                	<td><a href="NonSCFTermination.cfm">Termination</a></td>
                </tr>
            </table>
        </div>
        <!-- start content -->
        <div id="content">
            <div class="post">
                <!---p class="date">#dateformat(now(), "mmmm")# <b>#dateformat(now(), "d")#</b></p--->
                <h1 class="title">Non-SCF Employee Creation - Status</h1>
                <div class="entry">
                    This porition of Southcentral Foundation's <strong>new</strong> EPAR tool is meant to handle Badge and Network Account creation for Non-SCF employees.  Non-SCF employees include Contractors, Locums and Voluteers.                   
                </div>
                <div class="entry">
                   	<form>
                    <table align="center">
                    <cfloop query="qryGetStepDetail">
                        <cfset strDesc = StepDesc>
                        <cfset strAppGroup = AppGroup>
                        <cfset strPageUser = Page_UserDirect>
                        <cfset strPageHome = Page_Home>
                        
                        <cfquery name="qryGetStepWaiting" datasource="EPAR">
                            scf_GetWaiting #ID#
                        </cfquery>
                        <cfset intRecordCount = qryGetStepWaiting.recordcount>
                        <tr>
                            <td valign="top" colspan="3">
                    			<span class="tableHeader">
                                	<cfif (Session.strAuthType EQ #strAppGroup# OR Session.strAuthType EQ Session.IT or Session.strAuthType EQ Session.HR) AND strPageHome NEQ "">
                                    	<a href="#strPageHome#">#strDesc#</a> 
                                    <cfelse>
                                    	#strDesc#
                                    </cfif>                                        
                                 	(#intRecordCount#)
                                </span>     
                            </td>
						</tr>
                  		<cfif intRecordCount GT 0>
                        	<cfloop query="qryGetStepWaiting">   
                            	<cfset strName =  Name>
                            	<cfset strActionID = ID>
                        <tr>    
                        	<td width="25">&nbsp;
                            	
                            </td>               
                            <td>
                            	<cfif (Session.strAuthType EQ #strAppGroup# OR Session.strAuthType EQ Session.IT or Session.strAuthType EQ Session.HR) and strPageUser NEQ ''>
                                	<a href="#strPageUser#?ID=#strActionID#">#strName#</a>
                                <cfelse>
                                	#strName#
                                </cfif>
                            </td>
                        </tr>
                        	</cfloop>
						<cfelse>
                        <tr>   
                        	<td width="25">&nbsp;
                            	
                            </td>          
                        	<td>
                            	<span class="error">At the present time, there are not any employees staged for this step.</span>
                            </td>
                        </tr>
                        </cfif>
                        <tr>           
                        	<td>&nbsp;
                            	
                            </td>
                        </tr>
                    </cfloop>
                    </table>
                    </form>
                 	            
                </div>
            </div>
        </div>
        <!-- end content -->
        
        <!-- start sidebar -->
            <cfinclude template="sidebar.cfm"/>
        <!-- end sidebar -->
    </div>
    <!-- end page -->
        <cfinclude template="../footer.cfm">
    </body>
    </cfoutput>
<cfelse>
	<cfinclude template="../Denied.cfm">
</cfif>
</html>
